package com.service.user;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * Created with IntelliJ IDEA.
 * User: lxf
 * Date: 2016/4/21
 * Time: 17:38
 * To change this template use File | Settings | File Templates.
 */
public interface LoginUserDetailsService {

    UserDetails loadUserByUsername(String username, String password, String validateCode) throws UsernameNotFoundException;

}
